<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
    <title>简单化休闲服饰</title>
    <%= stylesheet_link_tag "default" , :media => "all" %>
    <%= javascript_include_tag :defaults%>
    <!--highslide的配置-->
    <%= javascript_include_tag "highslide/highslide.js" %>
    <script type="text/javascript">
      
      // remove the registerOverlay call to disable the controlbar
      hs.registerOverlay(
      {
      thumbnailId: null,
      overlayId: 'controlbar',
      position: 'bottom right',
      hideOnMouseOut: true
      }
      );
      
      hs.graphicsDir = '/javascripts/highslide/graphics/';
      hs.outlineType = 'rounded-white';
    </script>
    <%= stylesheet_link_tag "highslide" , :media => "all" %>
    
  </head>
  <body>
    <!-- start header -->
    <div id="admin">
      <%=admin_info%>
    </div>
    <div id="header">
      <div id="logo">
        <h1>
          <a href="/index">简单化<sup>休闲服饰</sup></a>
        </h1>
      </div>
      <div id="menu">
        <ul>
          <li><a href="/index"><%=_("Home")%></a></li>
          <li class="active"><a href="/album"><%=_("Album")%></a></li>
          <li><a href="/blog"><%=_("Blog")%></a></li>
          <li><a href="/guestbook"><%=_("GuestBook")%></a></li>
          <li><a href="/contact"><%=_("Contact Us")%></a></li>
        </ul>
      </div>
    </div>
    <!-- end header -->
    <!-- start page -->
    <div id="page">
      <!-- start content -->
      <div id="content">
        <% if flash[:notice]%>
            <div id="notice"><%=flash[:notice]%> </div>
            <% end %>
            <%= yield :layout %>
          </div>
          <!-- end content -->
          <!-- start sidebar -->
          <div id="sidebar">
            <ul>
              <li>
                <%=album_sidebar(@sidebar_type)%>
                </li>
              </ul>
            </div>
            <!-- end sidebar -->
            <div style="clear: both;">&nbsp;</div>
          </div>
          <!--highslide controller-->
          <div id="controlbar" class="highslide-overlay controlbar">
            <a href="#" class="previous" onclick="return hs.previous(this)" title="Previous (left arrow key)"></a>
            <a href="#" class="next" onclick="return hs.next(this)" title="Next (right arrow key)"></a>
            <a href="#" class="highslide-move" onclick="return false" title="Click and drag to move"></a>
            <a href="#" class="close" onclick="return hs.close(this)" title="Close"></a>
          </div>
          <!-- end page -->
          <!-- start footer -->
          <div id="footer">
            <p id="legal">(c) 2007 Jiandanhua. Design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree</a> and <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
          </div>
          <!-- end footer -->
        </body>
      </html>